<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<div id="ViewDevWin"
	style="width: 600px; height: 220px; padding: 10px;overflow-y: auto;"
	class="easyui-dialog" title="详情查看"
	data-options="modal:true,closed:true,minimizable:false,collapsible:false,maximizable:false,iconCls:'icon-save',onClose:function(){$('#saveOrUpdateDevForm')[0].reset();} ">
	<form id="saveOrUpdateDevForm" method="post" enctype="multipart/form-data" >
		<div class="menu_form_body">
			<table border="0" cellpadding="0" cellspacing="0" width="100%" class="cheliangxinxi">
			   <tr>
	         	 <th align="right" height="26" width="100">申请编号：</th>
	             <td>
	                 <span class="indexstylelist" id="applyNo"></span>
	             </td>
	             <th align="right" height="26" width="100">申请时间：</th>
	             <td>
	             		<span class="indexstylelist" id="applyDate"></span>
	             </td>
	         </tr>
	     	 <tr>
	         	 <th align="right" height="26">申请人：</th>
	             <td>
	                 <span class="indexstylelist" id="applicant"></span>
	             </td>
	             <th align="right" height="26">申请人单位：</th>
                 <td>
                     <span class="indexstylelist" id="applicantbmmc"></span>
                 </td>
	         </tr>
	     	 <tr>
	     	     <th align="right" height="26">审核人：</th>
                 <td>
                     <span class="indexstylelist" id="auditor"></span>
                 </td>
	         	 <th align="right" height="26">审核人单位：</th>
	             <td>
	                   <span class="indexstylelist" id="auditorbmmc"></span>     
	             </td>
	         </tr>
	         <tr>
	             <th align="right" height="26">审核时间：</th>
	             <td>
	             	<span class="indexstylelist" id="auditDate"></span>
	             </td>
	             <th align="right">审核状态：</th>
	             <td>
	             	<span class="indexstylelist" id="zt"></span>
	             </td>
	           </tr>
			</table>
		</div>
	</form>
</div>
<script>
  function showDetail(_applyNo){
	  $.ajax({
          type:'post',
          url:'${ctx}/audit/queryAuditByApplyNo.htm',
          data:{
             applyNo:_applyNo
          },
          dataType:'json',
          success:function(data){
              debugger;
              if(null!=data){
                  $('#ViewDevWin').window('open');
                  $('#applyNo').text(data.applyNo);//申请编号
                  $('#applyDate').text(data.strApplyDate);//申请时间
                  $('#applicant').text(data.applicant);//申请人
                  $('#applicantbmmc').text(data.applicantBmmc);//申请人部门名称
                  $('#auditor').text(data.auditor);//审核人
                  $('#auditorbmmc').text(data.auditorBmmc);//审核人部门名称
                  $('#auditDate').text(data.strAuditDate);//审核时间
                  $('#zt').text(data.strZt);//状态
              }
          }
      });
  }
</script>